package com.song.server;

//服务器通用接口
public interface RpcServer {
    void start();

    //Nacos注册服务
//    <T> void publishService(Class<T> serviceClass);
    <T> void publishService(T service, String serviceName) throws Exception;
}
